﻿using System.ComponentModel;

namespace JX.Infrastructure.Field
{
	/// <summary>
	/// 字段类型，用于指定系统中字段用户控件的类型。
	/// </summary>
	public enum FieldType
	{
		/// <summary>
		/// 未设置
		/// </summary>
		[Description("未设置")]
		None,
		/// <summary>
		/// 单行文本
		/// </summary>
		[Description("单行文本")]
		TextType,
		/// <summary>
		/// 多行文本（不支持HTML）
		/// </summary>
		[Description("多行文本(不支持HTML)")]
		MultipleTextType,
		/// <summary>
		/// 多行文本（支持HTML）
		/// </summary>
		[Description("多行文本(支持HTML)")]
		MultipleHtmlTextType,
		/// <summary>
		/// 选项
		/// </summary>
		[Description("选项")]
		ListBoxType,
		/// <summary>
		/// 数字
		/// </summary>
		[Description("数字")]
		NumberType,
		/// <summary>
		/// 货币
		/// </summary>
		[Description("货币")]
		MoneyType,
		/// <summary>
		/// 日期和时间
		/// </summary>
		[Description("日期和时间")]
		DateTimeType,
		/// <summary>
		/// 下拉查阅项
		/// </summary>
		[Description("下拉查阅项")]
		LookType,
		/// <summary>
		/// 超链接
		/// </summary>
		[Description("超链接")]
		LinkType,
		/// <summary>
		/// 是/否（复选框）
		/// </summary>
		[Description("是/否(复选框)")]
		BoolType,
		/// <summary>
		/// 数量
		/// </summary>
		[Description("数量")]
		CountType,
		/// <summary>
		/// 图片
		/// </summary>
		[Description("图片")]
		PictureType,
		/// <summary>
		/// 文件
		/// </summary>
		[Description("文件")]
		FileType,
		/// <summary>
		/// 大文件
		/// </summary>
		[Description("大文件")]
		BigFileType,
		/// <summary>
		/// 颜色代码
		/// </summary>
		[Description("颜色代码")]
		ColorType,
		/// <summary>
		/// 节点
		/// </summary>
		[Description("节点")]
		NodeType,
		/// <summary>
		/// 模板
		/// </summary>
		[Description("模板")]
		TemplateType,
		/// <summary>
		/// 虚链接
		/// </summary>
		[Description("虚链接")]
		InfoType,
		/// <summary>
		/// 作者
		/// </summary>
		[Description("作者")]
		AuthorType,
		/// <summary>
		/// 来源
		/// </summary>
		[Description("来源")]
		SourceType,
		/// <summary>
		/// 关键字
		/// </summary>
		[Description("关键字")]
		KeywordType,
		/// <summary>
		/// 文本框+选项
		/// </summary>
		[Description("文本框+选项")]
		OperatingType,
		/// <summary>
		/// 风格
		/// </summary>
		[Description("风格")]
		SkinType,
		/// <summary>
		/// 下载服务器
		/// </summary>
		[Description("下载服务器")]
		DownServerType,
		/// <summary>
		/// 专题
		/// </summary>
		[Description("专题")]
		SpecialType,
		/// <summary>
		/// 信息状态
		/// </summary>
		[Description("信息状态")]
		StatusType,
		/// <summary>
		/// 商品
		/// </summary>
		[Description("商品")]
		ProductType,
		/// <summary>
		/// 厂商
		/// </summary>
		[Description("厂商")]
		Producer,
		/// <summary>
		/// 品牌
		/// </summary>
		[Description("品牌")]
		Trademark,
		/// <summary>
		/// 内容编辑器
		/// </summary>
		[Description("内容编辑器")]
		ContentType,
		/// <summary>
		/// 标题
		/// </summary>
		[Description("标题")]
		TitleType,
		/// <summary>
		/// 多图片
		/// </summary>
		[Description("多图片")]
		MultiplePhotoType,
		/// <summary>
		/// 商品属性（例：尺寸）
		/// </summary>
		[Description("商品属性(例：尺寸)")]
		Property,
		/// <summary>
		/// 商品款式（例：颜色）
		/// </summary>
		[Description("商品款式(例：颜色)")]
		ProductStyle,
		/// <summary>
		/// 选择用户
		/// </summary>
		[Description("选择用户")]
		SelectUserType,
		/// <summary>
		/// 显示客户端IP
		/// </summary>
		[Description("显示客户端IP")]
		IPType,
		/// <summary>
		/// 当前登录会员名
		/// </summary>
		[Description("当前登录会员名")]
		UserNameType,
		/// <summary>
		/// 行政区域（国、省、市、区（DropDownList））
		/// </summary>
		[Description("行政区域")]
		RegionType,
		/// <summary>
		/// 行政区域(多选)（展示形式：选择多个省、市、区到一个ListBox中展示）
		/// </summary>
		[Description("行政区域(多选)")]
		RegionTypeSelect,
		/// <summary>
		/// 行政区域(关联选项)
		/// </summary>
		[Description("行政区域(关联选项)")]
		RegionTypeDropDown,
		/// <summary>
		/// 行政区域+地址（展示形式：国、省、市、区（DropDownList）、地址（TextBox））
		/// </summary>
		[Description("行政区域+地址")]
		RegionTypeText,
		/// <summary>
		/// 行政区域(国-省-市-区-街道-小区)
		/// </summary>
		[Description("行政区域(5级)")]
		RegionTypeFive,
		/// <summary>
		/// 验证码
		/// </summary>
		[Description("验证码")]
		ValidateCodeType,
		/// <summary>
		/// 多级分类
		/// </summary>
		[Description("多级分类")]
		IndustryCategory,
		/// <summary>
		/// 数据绑定选项
		/// </summary>
		[Description("数据绑定选项")]
		ListBoxDataType,
		/// <summary>
		/// 选项(详情)
		/// </summary>
		[Description("选项(详情)")]
		ListBoxIntroType,
		/// <summary>
		/// 节点（多选）
		/// </summary>
		[Description("节点（多选）")]
		NodeCategory,
		/// <summary>
		/// 自动编号
		/// </summary>
		[Description("自动编号")]
		NumBuilder,
		/// <summary>
		/// 二维码
		/// </summary>
		[Description("二维码")]
		QRCodeType,
		/// <summary>
		/// 整数
		/// </summary>
		[Description("整数")]
		IntegerType
	}
}
